using System;
using System.Collections.Generic;
using System.Text;

using Microsoft.SharePoint;

namespace SharePointHarvester.Events {
    public delegate void ListFoundHandler( object sender, ListFoundEventArg e );

    public class ListFoundEventArg : EventArgs {
        /// <summary>
        /// The web that was found
        /// </summary>
        public SPWeb _spWeb;

        /// <summary>
        /// List that has been found
        /// </summary>
        public SPList _list;

        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="webFound"></param>
        /// <param name="list"></param>
        public ListFoundEventArg( SPWeb webFound, SPList list ) {
            _spWeb = webFound;
            _list = list;
        }

    }
}
